/*
 * Copyright (C) 2012 TopCoder Inc., All Rights Reserved.
 */
package com.ibm.dst.capacity.services;


/**
 * <p>
 * XSeriesCapacityDataParsingException extends from XSeriesReportServiceException and is thrown by the importCapacityData() method of XSeriesReportService to indicate that the capacity data coming from the input stream is in invalid or incorrect format or there are any I/O errors in reading the data from the stream.
 * </p>
 * <p>
 * This is a checked exception.
 * </p>
 * <p>
 * Thread-Safety: This class extends from a thread-safe base class and does not define state of its own and neither modifies the super classes state and hence is thread-safe.
 * </p>
 * @author fastprogrammer, TCSDEVELOPER
 * @version 1.0
 */
@SuppressWarnings("serial")
public class XSeriesCapacityDataParsingException extends XSeriesReportServiceException {
    /**
     * <p>
     * Constructor. Simply calls the super class constructor with same arguments [key and message].
     * The key should be a unique key to identify the cause of the exception and the message being a useful information message about the cause of the exception.
     * </p>
     * Parameter:
     * =========
     *
     * key: a unique key to identify the cause of the exception
     * message: a useful information message about the cause of the exception
     *
     * Exceptions:
     * ===========
     *
     * None
     * @param message
     * @param key
     */
    public XSeriesCapacityDataParsingException(String key, String message) {
        super(key, message);
    }

    /**
     * <p>
     * Constructor. Simply calls the super class constructor with same arguments [key, message and cause].
     * The key should be a unique key to identify the cause of the exception and the message being a useful information message about the cause of the exception. The cause parameter is for the inner exception which has resulted in this exception being thrown to the user.
     * </p>
     * Parameter:
     * =========
     *
     * key: a unique key to identify the cause of the exception
     * message: a useful information message about the cause of the exception
     * cause: an inner exception which has resulted in this exception being thrown to the user
     *
     * Exceptions:
     * ===========
     *
     * None
     * @param message
     * @param cause
     * @param key
     */
    public XSeriesCapacityDataParsingException(String key, String message, Throwable cause) {
        super(key, message, cause);
    }
}

